package com.atcjx.config;

import com.atcjx.pojo.configPojo.UserConfig;
import com.atcjx.mapper.configMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName UserGlobalConfig.java
 * @author admin
 * @version 1.0.0
 * @Description TODO
 * @createTime 2021年11月10日 20:24:00
 */
@Configuration
public class UserGlobalConfig {
    @Autowired
    configMapper configMapper;

    @Bean
    UserConfig userConfig() {
        return configMapper.getUserConfig();
    }
}
